<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script src="jquery-1.9.1.js"></script>
    <link rel="stylesheet" href="dist/themes/default/style.min.css" />
    <script src="dist/jstree.min.js"></script>
</head>
<body>
<div id="container"></div>
<script>
    $(function() {
        $('#container').jstree({
            'core' : {
                'data' : {
                    "url" : "ajax.php",
                    "dataType" : "json" // needed only if you do not supply JSON headers
                }
            }
        });
    });
</script>
</body>
</html>